vtd: refuse to enable IOMMU if the PCI scan fails
authorRoger Pau Monné <roger.pau@citrix.com>
Fri, 2 Dec 2016 17:09:11 +0000 (18:09 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 2 Dec 2016 17:09:11 +0000 (18:09 +0100)
commit295f4c8bc2e6da4a4442efa115da4e1b393b3672
tree526e7c3ca546e5d7db4bcb3e3bed1b78360695b6
parentb1e08f7bd8dd94714fe74c1d9b29b6410729832e
vtd: refuse to enable IOMMU if the PCI scan fails

This provides uniform behavior between Intel and AMD IOMMU initialization, and
is a requirement for PVHv2 Dom0, that depends on a working IOMMU plus the PCI
bus being scanned for devices.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
xen/drivers/passthrough/vtd/iommu.c